package com.driving.single.common.mapper;

import com.driving.single.common.domain.TbCoachComment;
import com.driving.single.common.domain.TbPartnerComment;
import com.driving.single.common.domain.TbSchoolComment;
import com.driving.single.common.entity.RecommendResult;

import java.util.List;

/**
 * 首页推荐广告Mapper
 *
 * @author xsf
 * @version v1.0.0
 * @date 2019/12/15 0015
 * @see com.driving.single.common.mapper
 **/
public interface CustomPortalRecommendMapper {
    List<RecommendResult> selectRecommendSchoolList(Long categoryId);

    TbSchoolComment selectRandomBestRecommendSchoolComment(Long schoolId);

    List<RecommendResult> selectRecommendCoachList(Long categoryId);

    TbCoachComment selectRandomBestRecommendCoachComment(Long coachId);

    List<RecommendResult> selectRecommendPartnerList(Long categoryId);

    TbPartnerComment selectRandomBestRecommendPartnerComment(Long partnerId);
}

